let price = 0
let span = document.querySelector('span')
 var cartList = JSON.parse(localStorage.getItem('cart')) || []
console.log(cartList);
cartList.forEach(res => {
    price += res.price * res.cart_number
    span.innerHTML = price
});
